using System.ComponentModel.DataAnnotations;

namespace Yuekao.Domain.Entitys
{
    /// <summary>
    /// 职称表
    /// </summary>
    public class Work
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int WorkId { get; set; }

        /// <summary>
        /// 职称名称
        /// </summary>
        [StringLength(30)]
        public string WorkName { get; set; } = string.Empty;

        /// <summary>
        /// 删除键
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
} 